add_executable(httpserver
        HttpContext.cpp
        HttpResponse.cpp
        HttpRequest.cpp
        HttpServer.cpp
        SimpleServer.cpp
)

target_link_libraries(httpserver 
    PRIVATE 
        spark-net
        spark-utils
        Threads::Threads
)

set_target_properties(httpserver
    PROPERTIES
        RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)